import { Entity, Column, PrimaryGeneratedColumn } from "typeorm"

@Entity({name: 'user'})
export class User {
    @PrimaryGeneratedColumn()
    readonly id!: number

    @Column({
        length: 100,
    })
    nickname!: string

    @Column()
    job!: string

    @Column()
    avatar!: string

    @Column("text")
    introduce!: string

}